package com.xmb.common.dao;

import com.xmb.common.entity.XmbSpreadRewardSetting;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface XmbSpreadRewardSettingMapper {
    int insert(XmbSpreadRewardSetting record);

    int insertSelective(XmbSpreadRewardSetting record);

    XmbSpreadRewardSetting selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(XmbSpreadRewardSetting record);

    int updateByPrimaryKey(XmbSpreadRewardSetting record);

    XmbSpreadRewardSetting findByActivityIdAndPath(XmbSpreadRewardSetting record);

    int updateByActivityId(XmbSpreadRewardSetting record);

    int deleteXmbSpreadRewardSetting(@Param("activityIds") List<Long> activityIds);

    XmbSpreadRewardSetting findByActivityId(@Param("activityId") Long activityId);
}